import asyncio

from application.scrapper import GetFast
from application.common.config import Config


if __name__ == "__main__":
    baidu = GetFast(host=Config.REDIS_HOST, port=Config.REDIS_PORT, db=Config.REDIS_DB)
    loop = asyncio.get_event_loop()
    loop.run_until_complete(baidu.run())
